package net.zhengxinyun.performance.service.workSupervision;

import net.zhengxinyun.performance.entity.WorkScoreEntity;
import net.zhengxinyun.performance.entity.WorkSupervisionEntity;
import net.zhengxinyun.performance.filter.IndexFilter;
import net.zhengxinyun.performance.filter.WorkScoreFilter;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * Created by hyp1202 on 2018/12/13.
 */
public interface WorkScoreService {

    List<WorkScoreFilter> query(WorkScoreFilter filter);

    String delete(WorkScoreEntity workScoreEntity);

    String insert(WorkScoreEntity workScoreEntity);

    String update(WorkScoreEntity workScoreEntity);

    String adminPass(List<WorkScoreEntity> list);

    String responsibleAllPass(List<WorkScoreEntity> list);

    Integer queryByTwoTableCount(WorkScoreFilter filter);

    String importScore(MultipartFile file);

    List<WorkScoreFilter> queryForAudit(WorkScoreFilter filter);

    Integer queryForAuditCount(WorkScoreFilter filter);

    String noPass(WorkScoreEntity entity);
    int auditProdure(WorkScoreEntity entity);

    List<WorkScoreFilter> indexWork(IndexFilter indexFilter);

    Double queryForSum(IndexFilter indexFilter);
}
